package com.dhu.stylefit.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UsersRepository extends JpaRepository <Users,Long>{

    List<Users> findByEmail(String email);

    List<Users> findByUsername(String username);
}
